package siedler.communication;

import java.io.Serializable;
import java.util.Vector;

import siedler.GUI.gameElements.Connection;
import siedler.GUI.interfaces.Klickable;

public class Move implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private PeerI owner;
	
	public boolean build = false;
	public Vector<int[]> newBuildings = new Vector<int[]>();
	
//	private boolean newStreet = false;
//	private boolean newSettlement = false;
//	private boolean newTown = false;
//	
//	private Vector<Connection> newStreets = new Vector<Connection>();
//	private Vector<Connection> newSettlements = new Vector<Connection>();
//	private Vector<Connection> newTowns = new Vector<Connection>();
	
	public Move(PeerI peer) {
		this.owner = peer;
	}
	
	public Vector<int[]> getNewBuildings() {
		return newBuildings;
	}
	
	public boolean addBuilding(int[] k) {
		newBuildings.add(k);
		System.out.println("new thing was build and added");
		return true;
	}
	
	public PeerI getOwner() {
		return this.owner;
	}
	
//	public boolean isNewStreet() {
//		return newStreet;
//	}
//	public void setNewStreet(boolean newStreet) {
//		this.newStreet = newStreet;
//	}
//	public boolean isNewSettlement() {
//		return newSettlement;
//	}
//	public void setNewSettlement(boolean newSettlement) {
//		this.newSettlement = newSettlement;
//	}
//	public boolean isNewTown() {
//		return newTown;
//	}
//	public void setNewTown(boolean newTown) {
//		this.newTown = newTown;
//	}
//	public Vector<Connection> getNewStreets() {
//		return newStreets;
//	}
//	public void setNewStreets(Vector<Connection> newStreets) {
//		this.newStreets = newStreets;
//	}
//	public Vector<Connection> getNewSettlements() {
//		return newSettlements;
//	}
//	public void setNewSettlements(Vector<Connection> newSettlements) {
//		this.newSettlements = newSettlements;
//	}
//	public Vector<Connection> getNewTowns() {
//		return newTowns;
//	}
//	public void setNewTowns(Vector<Connection> newTowns) {
//		this.newTowns = newTowns;
//	}
	

}
